package com.example.knowman.ObService;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.knowman.ReturnMessage.Message;
import com.example.knowman.dao.knowCategoryWithStaffname;
import com.example.knowman.entity.knowCategory;

import java.util.List;
import java.util.Map;

public interface OBKnowCategoryService extends IService<knowCategory>{
    String returnKnowCateNameByKnowCateId(Integer knowCateId);


    List<knowCategory> getAll();

    List<knowCategory> getChilds(Integer knowCateId);

    //返回排序顺序
    Map<Integer,Integer> getGo();

    Map<Integer,String> getIdAndName();
}
